Added checking of entering of users name