built a facebook logout button & event/ refined interface & other functions