added invitation model and migration