started work on authentication controller