added controller. fix share form bug