User creation & authentication

User creation and authentication have a preliminary implementation.