Finished facebook login/register implementation