function 'getUserData' is implemented