How to get user's data from moodle base?