parse url_or_username to url or username attribute

now we can relay that a correct username or url is set. no need for url_or_username in the code anymore (expect the parsing of course).
simplify url methode