Fixed registration.

Emails are now checked properly.
Passwords are correctly hashed and are not returned to the user on
failure or success.
Emails are also now checked for uniqueness.
Moved the sidebar to the left to assist with UI.