updated db schema with join table to courses users, updated courses methods to define different roles for different users (scope)