Check, wheter the username is already set

Should fix #16