+improved register form validation
fixed bugs on user registration