checked for user name nil