changed to return nothing if no user
changes to empty object