Added view refreshing functions for all the views;
Fixed bug with wrong variable names;
Finished forms with adding a new course;