changed modal buttons, changed expiration of session cookie to 24 hours