user controller modifed with @distance, and distance helper method created