Added login check for session processor