Now working on authenticateUser Method