fix some bug and add front display page