profile page encrypt fix