Authorisation

Created authorisation for authors and photographers. Also fixed a bug in
registration.