updated check username by spliting to name and url