add auto login when login expired