Added signature checking to make sure requests are authentic