Implemented the index and create action for tweets controls