Added isset condition for uid
updated readme