remake validation in registration page, fix bugs in change password