Implemented dynamic pages form with ajax