add all the cases for login view