add restfull controller