added 'apply for course'button on course show page