Binded components to offcourse page + got rid of code duplication