removing unused github & facebook functions