Add invitation data into local database.

Task #38