change the order of processing not to save statistics when login is 'passed'.