moves user session info to an object