database <=> Facebook merge

Since, the session is initialized with facebook ID, I modified all the
foreign key of tables that have relationship with userapps table to
point to the FacebookID, which means that FacebookID is now representing
the user in every event.

I modified functions to sign up in Facebook so to accomodate to the
project