Revert "Revert "Get Location detain using ip address""

This reverts commit 14ba9706ec6ee1c7bee9a02961152d52c04cf5b1.