Updated code for displaying work sessions