making things even prettier, fixing bugs with login process