title: Email verification in Play! 2.0
body: <p>I need to implement an email verification mechanism in play after after the user has registered on my website.</p>
  
  <p>I am trying to understand what is the best architecture, this is my guess:</p>
  
  <ul>
  <li>Define a special route for email validation</li>
  <li>When the user register generate a token and save it inside the cache with a token -> user mapping.</li>
  <li>Send an email containing an url which points to the route providing the token as a parameter</li>
  <li>In the special route controller, retrieve the user from the cache using the token, validate the email and store it in the database.</li>
  </ul>
  
  <p>Is my approach right?Is there a better solution?</p>