fixed several minor bugs in user sign up input validation