Added user to the Courses controller
Move logic over to the user model