fix login view shift from registration view