Added conditional on work in jsp
Changed time to int minutes throughout dao and model