cteate a function that sets user profile.