Adding new user registration logic