Fixing padding.
Adding error message when person isn't logged in. Fixes issue #295.
Fixing headers and error messages.