Invocation ID and some fixes in Team1 Code

Code was crashing as table schema was not correct and some queries were
not valid.

Danish: Yar aap yeah process rakho commit ka!
1- back up ur local code.
2- fetch/pull/synch ur local repository
3- Merge ur code in the latest code u just
fetched/pulled/synched/downloaded
4- Run the merged code
5- Before committing check if others have committed while u were doing
the step 3 & 4. If there are more commits to be downloaded redo 3 & 4
... and request others to not commit until u commit
6- Now commit ur code
7- Thank some one who told u the steps :P

invocatoin_id has been added as expected.