Modifications made to get Userobj without the transient objects (and with a single session)