** Implemented subject end-points in REST API