add student book courses logic. few bugs to be fixed later.