creating request validation