fixed semicolon bug
fixed aggregation
fixed variable naming
fixed variable naming
fixed variable naming
changed order
changed User attributes course and profile from being strings to associations with extra Course and Profile classes