Adding AESCrypt and most of the login logic for existing and new users