added db ref in invitation model
filterng project data
Merge pull request #247 from Somesh/master

dbref invitation model