Added parsing of params in URL