Refactor Reminders code in users controller