added alerts before and after pageloader

also removed email function