Add username validation of Registration module implemented by AJAX

Add password validation of Registration module