updated main page to check publish status, ability to publish, etc