refactor: put SentPage handler in separate module