Added a check if user name is already taken when a new user is created, and it is handled now properly - an error message is displayed.