user profile api works as intended now.

-soohoo