added restful controller actions and form