bugfix for no subjects choosen at registration. worthless student/teacher.. :-(

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
bug fix for tutorials page. case: no subjects on the table.

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>