cleaned up code added shre widgets but fb doesnt work