login/logout landing logic