Encryption and increased security

Loginmame based authentication, recover login name, extra security for
password reset. Other updates