added missing url module
reworked mongodb uri