add Logout, stop refresh notification when turn off the screen