added user ip address support although still broken