added 'post tweet' method and integrated with HTML controller