Removing the session from actions.