added in cap task to restart server
moved slug and text generation from after_create callback to a before_validation cb