Store in mongodb works localy