Parsing URL from get requests