fix login view