Fixed the ...Invite methods to not be static and to apply to themselves
Fixed the checkinvites method to use less database queries, also fixed the naming of invite methods