fix log in view page