codes for setting user's title
widget for user to set title