Added code for User profile maintenance.