fixed email sending on pass (does not send now), css changes and headers added to pages