add user login functionality - auth not working