removed the authenticate fuction from the login view