added ajax to courses show action