fix tests and add user_name to response