reverting changes with spring security