Make API stateless