added a helper function in the controller to help render entries only from a specific semester instead of weeding them out in the view