fix register and add Page Controller