edit link on posts when logged in; db snapshot