add register & main page