adding client side store selector
reverting testing code
Matt Merge