Fix event binding fail, add ability to create pages