created view for user registration and wired it up