Added request validation