Signing in finally works, though password encryption is needed. Logged user model needs to be filled with all data, not only email and password