adding trim() in the getters of the User attribute
Added trim() in getter attribute of the User class
addition of isEmptyorNull()