Fixed bug with error message "User not found"