More changes to login
More changes to login. Still need nickname functionality and check for bugs.