login view now properly displaying failed login attempts and loading gif displaying