Add auto log out settings

refs #34