refactored classes for signup and edit-user form boxes