have added user registration functionality