working rest and jpa
Async working