Improved registration and logging in

- Added better styling and moved logging in and out to the top of the page.
- Added Gravatar support.