added user registration functionality
added user registration functionality