more work on templates, tied in date ranges, which involved edits to functions like get_monthly_bar_data, added in redirect to inactive page for inactive accounts on all views