updated policy isLoggedIn and .sailrc