Implement  login, registrationAction