started adding user registration
added basic user-registration function