small debug added in database, fixed date copyright in mainbase