Restoring your session
Checking your role