applies consistency to flash message styling
adds link to edit user registration
adds authorisation checks
formats flash messages