end admin and session