ADD: trim strings from properties and make sure is null if empty
ADD: logging for login. show realm.