added getUser and getPassword for db widget