add user location module

add user location module
format code