encryption for login page