login view cleanup