added error checking to user registration page. also checks user id to make sure there are no dups