edit deleteUser to delete user based on username and delete corresponding posts