change form method to post
customize error messages for register validator