get location function in personal data GUI