facebook module added and bug fix