Define canLogInOut with canLogIn/Out