title: How to convert the play.api.mvc.Call to Class[?]?
body: <p>Ｉ am new in play and meet the error is:</p>
  
  <pre><code>[error] F:\Kepler\wefarm\app\views\login.scala.html:8: type mismatch;
  [error]  found   : play.api.mvc.Call
  [error]  required: Class[?]
  [error]    @form(routes.Session.authenticate()) {
  [error]                                     ^
  </code></pre>
  
  <p>　　　　　　　　　　</p>
  
  <p>I defined the authenticate function inside the Session.java</p>
  
  <pre><code>public class Session extends Controller {
  ....
  public static Result authenticate() {
      Form&lt;Login&gt; loginForm = form(Login.class).bindFromRequest();
      if (loginForm.hasErrors()) {
          return redirect(routes.Session.login());
      } else {
          session("connected", loginForm.get().email);
          return redirect(routes.Application.index());
      }
  }
  ...
  }
  </code></pre>
  
  <p>The error happens on the login.scala.html:</p>
  
  <pre><code>@(loginForm: Form[Session.Login])
  
  @import play.data.Form.form
  @main("WeFarm") {  
  &lt;h1&gt;Farmer login&lt;/h1&gt;
  @form(routes.Session.authenticate()) {    ///////------error   happens here
  @inputText(farmerForm("email"), '_label -&gt; "Email")
  @inputPassword(farmerForm("password"), '_label -&gt; "Password")
  &lt;input type="submit" class="btn btn-primary" value="Login"&gt;
  </code></pre>
  
  <p>}</p>
  
  <p>I want put authenticate result into form, the form do not recognize it.
  how to make the @form accept the result?</p>