removed bug during course creation, added user groups, updated the changes to database