added a user registration feature