Added tweet posting and fixed refresh method