Added email and directory to DB