Removed some debugging statements and unneeded code
Reduced login form to a single field (user id)
Nicer looking login form that works
Made new user creation also login automatically