handle failures; authorize invitations
clean up database when deleting models
players helper
remove unnecessary var