When user logged in, broadcast to appController.js to listen about the l...

...ogin--> then get all contacts and connect to all the contacts through chat using socket.io chat connect.

Save the contacts information in localStorage.
Get the all the communicationsIds with each contact and save in localStorage.
This functionality was previously in chatController.js. Now, moved to appController.js.