added registration

users can now register as a new person-a-ma-jig. Also added logout
functionality and added the Logout function to the Authentication API.