Attempts to debug entry problem
Adds test code in template.html
Tests if FB.login works as a dummy function
Runs more test code in template.html
Tests if original functions work
Removes test code from template.html
Adds code to seek permission from 1st time users who are logged in on Facebook