Feature: save invites to database