saveToStorage promise to return session and throw error on reject