add possibility to store session on IOS