Initial basic implementation of user registration and authentication