Syntax error on new user registration