fixed (self) issue on all access classes
added checkexists function to db access layer