Added basic user registration functionality