entries controller