Added condition to fix the edit delete commands for a user that doesn't exist