added error code if user does not exists