Minor changes to User Profile java and xml

Rename duplicate method name