I understand that we have to encrypt the details and store it in cookies but I dont know how to reassign them when login.