auth with encryptation