Added spring security for handling user session