Check if the user exists in the file first