Cambio de assignPage a loadPage