replaced admin/session with mock without calling constructor