Done implementation for enroll
Added an JSON layer