login now works with encryptings