Passing pid through url working