validate amil and home page