Password validation in registration fixed.
Edit user implemented.