key is now saved and restored from database