Correct the sql statement to list registered In-Out
Merge remote-tracking branch 'anibal/8566' into 8566
Add course_code param from sessions list - ref BT#8566
delete formatHeader()