Added a capacity field to sessions
created and implemented getSlotsAvailable function