Modified class to use the user bean