cleaning up login view