Remove slash from uri end

Slash at the end of DB url by mistake kill app with an exception.