Implemented cross-site request forgery protection