Add user id element settings
Add getUserName function to principal
Fixed labels in settings
Add logging
Fixed invalid service in validation url
Added missing credential elements
Removed logging
Add username and getUsername method