Added getDisplayName to user and implemented it.
Added connection error handling.