Made admin page work