refresh load sheets at date selection

show selected day's sheets
Also, move code away from request handlers for readability.