check user for pages