added enrollment getting methods to DB