Allowing editing of users

Changes to allow a user details to be edited. This should fix issue #69.

@NickDaly - Please can you test this on your dev environment before merging as I've been using a hacked together version locally :)