Restricting user view to only one course