added user login and permissions to courses and users