Added basic request validation