fixed typos, passing all tests
added validation of role
added methods in course model to return teachers and students
changed student_assignment model to say that it belongs to :student, class_name: :user
made course memberships dependent on the user - if the user is removed from the database, their associated course membership goes with it.
working on scopes
settup .env file with client id & client secret, and also register app on github as ga_student_app
added oauth callback and create methods to the user
added in the rest-client gem
added routes for the user oauth paths, and sessions
added the login and out routes and logic to the application layouts file
added in methods to sessions controller, and current_user logic to the application controller
created a temp root of users#show to test oauth, and also create test view page of  users show.html.erb
created an index page instead of show for testing, and updated the routes, and users controller to match the database
oauth is working, and complete. tested myself(amal) as the first user, and if has been saved to db. made a couple of changes to the users cocontroller to match schema
added annotate gem and also testing out class methods and removing student_assignments table
tests not passing because no foreign keys in database
trying out a self join table instead of assignments and student_assignments
added in the foreign key index to the migrations
solved merge conflict