fetching uid from parameter