Setting session config