Check to include calls to models

With this it is possible to login with a method in the model.