pager for flask