Add @EnableAuthorizationServer
Add @EnableResourceServer