Fix rendering of password reset button.
Code improvements. Email is now required. Add generation of random password d on creation and password reset. Add email notification of password change in registration