added authentication to Spring