added twitter functionalities