successfully added admin sessions for editing posts