made clarifications in pseudocode for userprofile