Finalised User authentication

The user authentication should be good for now. The user now gets one
endpoint on registration.