fixed datetime, added alert-display and fixed edit-mailaddress function