Added getUserData method