Cleanup

General cleaning up the code and making sure that the session flashes
are showing the correct styles for errors and success messages.
More cleaning up

Set the error pages to be a bit more personalised.
Switched debugging off.