improve codes
add the alertaion page