Adds facebook clint side authentication
Removes the #= at the end of URL when logged in