fixed a bug in the authentication method
restructured the model to the new auth interface and removed the logout route which is note created by the restberry-auth model