add userprofile directive for user page