Added facebook functionality, still some issues though