Refactor statuspage