Working on the user registration functionality