Implemented the isSignedIn method