Revert "add a isLoggedIn method to the usersession and deprecate the isLoggedIn method on the api"

This reverts commit ee9304a32bd709170ed57c7a95873ef002875496.