add spring data jpa repository and new check in page