refactor devise usage report: limit to 1-60 days, move database access specifics from controller to model, greatly reduce database queries with reworked SQL and updated view loop logic