added eventhistory, error pages and sms validation etc