Added user check for newcoursehandler