changing rounding of distance
working doorkeeper
changed the redirect