sample source code for user account class