added respond_to in statuses_controller for rails3