set local db connection and check if host is not online
added top commiters list
switch db connection between local and online