fixing the user log in views