removed mysql defines from include to .sp file
added stock to check if valid client(shorthand)