added user class, wrote automated tests for name length and uniqueness