updated getter and setters in databaseController