added date. improve saving and user verification.