Override databaseDetails so it works in all classes

also tried to fix logic issue in parttimeemployee