Created submit controler along with some token validation.