Issue 60: authentication for users of the admin interface

WIP

See #60 
I don't think you need to use reverse here do you?