Add Users to the API

This PR adds registration and session management to the API