Added location function

function to find the location of the user