Using session to get UID