Added protect_from_forgery validation