changed login view slightly