Adding spring security authentication