adds commments in spec/stores.rb factory and moves the authenticate user callback into the controller