cleaned up login process and initial page