Spring Security with ReactJS