Basic implementation of user registration