Added salt in password and generated session
Authorization in controller