Refactoring GetUserNotifications method in the Notification class