Fixed bug in adding user