implemented getDatabaseStatus in a util database class, added database status to web api