error catching usercourses