Made the jquery and css a bit nicer.

Also started working on the login.