server validation