Updated app.php

Changed the code to show username and picture of user after logging in from Facebook.
Added some additional comments to explain what the JavaScript is doing?
The code however has problem somewhere. The timer hides as soon as we click on timer icon.This problem was not present earlier so some changes need to be reverted
Merge pull request #3 from life-win/Revert

Updated app.php