validated the user messages page before rendering