adding support for select database with redis store