added host, port and more options to db widget