add facebook login and friend function