Models updated, checkContactsOnApp method added on the server 

- Models updated, checkContactsOnApp method added on the server.
- Some minor code improvements