#66 Fixed small bug with "add a course" button and automated adding user emails and display names to our database.
#66 Fixed small bug with "add a course" button and automated adding user emails and display names to our database.

- There was a small bug where if a user was adding their first course, then it wouldn't add index 0 in the courseArray. Should be fixed, but more testing required to confirm.
- Everytime the getUserCourses() function is called, user displayname and email is added to our database if it is not already there.

mukulikadey/SOEN341-Group1,mukulikadey/SOEN341-Group1,mukulikadey/SOEN341-Group1,mukulikadey/SOEN341-Group1,mukulikadey/SOEN341-Group1,mukulikadey/SOEN341-Group1