Add logout. Add session variables.