getting details of only user who is currently logged in.