implemented SHA1 encrypted passwords for manager