create flow service in creating new flow
fix navigation after edit flows