return user ip, add some dependencies