Made session store type a config value.

The only session store currently available is memory store but now is a config variable