logging user object