added facebook login and html5 location detection