display error messages in register form;
set password to be at least 6 characters;