check in logout