Update for new session hook.
Add "Session expire time" setting.
Add "Login expire time" setting.