UPDATE: user profile function done.