implemented user registration system