email notifications & query strings with authentication

These routes look really complicated. You should consider trying resource nesting with member/collection routes to make your routes more semantic and understandable. See https://github.com/SamLau95/cs61as-quiz-system/blob/master/config/routes.rb for an example.