Implement GET API for /locations/{userName}