save session id in user defaults;