bug resolved for login view