Implementing the functionality for submiting statuses